<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <link rel="stylesheet" href="./css/style.css">
    <script src="./js/vue.js"></script>
    <script src="./js/jquery.min.js"></script>
    <script src="./js/main.js"></script>
</head>

<body>
    <h2 class="header">Vue记事本</h2>
    <div class="box">
        <!-- 上面是一个input输入 下面一个<ul></ul> -->
        <input type="text" name="" id="" placeholder="请输入任务" @keyup.enter='keyEnt' v-model='message'>
        <ul>
            <li v-for=" (items,index) in things">
                <b>{{index+1+'、'}}</b>
                <span>{{items}}</span>
                <em @click='remove(index)'>&#xea0d</em>
            </li>
        </ul>
        <div class="footer">
            <div class="left"><span>{{things.length+'  '}}</span>items left</div>
            <!--  @click.once="clearth()" -->
            <div class="clear" @click='clear1'>clear</div>
        </div>
        <!-- <div class="bodyover " v-show="isShow">
            <span>是否清除记事本的所有内容？！！！清除之后内容无法找回！！！如需继续清除则点击任意处返回clear</span>
            <div><button class="t " @click='keyu( clearth1())'>返回</button>

            </div>

        </div> -->
    </div>
    <div class="imgfoot "><img src="images/未标题-1_03.png " alt=" "></div>
    <!-- <div class="smile "> <span v-for="item in arr " v-html='item'></span></div>  -->


</body>

</html>